#ifndef HAL_MATRIXKEYS_H
#define HAL_MATRIXKEYS_H


#define UP      1
#define DOWN    0
#define COL_NUM 4 //行数
#define ROW_NUM 4//列数

void Hal_MatrixKeys_Init();

void Hal_SetRowPower(char Row_Id);
char Hal_ReadColState(char Col_Id);

void HAL_ReadEEPROM(unsigned int EE_address, unsigned char *DataAddress, unsigned int number);

void HAL_WriteEEPROM(unsigned int EE_address, unsigned char *DataAddress, unsigned int number);
void HAL_EEPROMErase(unsigned int EE_address);
#endif // HAL_MATRIXKEYS_H